﻿using Microsoft.Extensions.Configuration;

namespace DotnetTools.FolderPath.Services;

public class FolderPathService : IFolderPathService
{

    private readonly IConfiguration _configuration;

    public FolderPathService(IConfiguration configuration)
    {
        _configuration = configuration;
    }

    public void GetDstFilePathByFunction(string function, string folderPath)
    {
        System.Console.WriteLine("get dst ");
        string v = _configuration.GetValue<string>("DataProvider")??throw new ArgumentNullException("dataprovider is missing"); 
        System.Console.WriteLine(v);
        
    }
}
